{{ define "template/warehouse.html" }}
    {{ template "template/serIndex.html" .}}
{{ end }}

{{ define "style" }}
    <link rel="stylesheet" href="../../static/css/warehouse.css">
{{ end }}


{{ define "content" }}
    <div class="warehouse_panel">
        <div class="houseSearch">
            <li class="workSearchGroup" style="float:left;">
                <div class="layui-inline searchInputGroup">
                    <div class="layui-inline" id="houseDateChoose" lay-key="1">
                        <div class="layui-input-inline dateChooseInput">
                            <input type="text" name="startDate" id="houseStartDate" class="layui-input" placeholder="开始日期">
                        </div>
                        <div class="layui-input-inline dateChooseInput">
                            <input type="text" name="endDate" id="houseEndDate" class="layui-input" placeholder="结束日期">
                        </div>
                    </div>
                </div>
                <div class="searchWorkGroup">
                    <div class="serWork">
                        <div class="searchWorkInputPanel">
                            <input type="text" name="ldssnum" placeholder="输入出货单据编号信息进行搜索" class="warehouse_input">
                            <button type="submit" class="serWorkSub" onclick="searchShipping()">搜索</button>
                        </div>
                    </div>
                </div>
            </li>
            <li class="warehouseNum"><strong></strong><span></span></li>
        </div>
        <div class="houseInfo">
            <div class="houseTishi">
                <span>dfgdfgfdgdfg</span>
            </div>
            <!-- 搜索展示 -->
            <div class="house_exhibit">
                <div id="house_scrollTable">
                    <table class="thead">
                        <col width="16.66%">
                        <col width="16.66%">
                        <col width="16.66%">
                        <col width="16.66%">
                        <col width="16.66%">
                        <col width="16.66%">
                        <tbody>
                        <tr>
                            <th>关联单号</th>
                            <th>物料名称</th>
                            <th>物料品牌</th>
                            <th>规则型号</th>
                            <th>出厂日期</th>
                            <th>条码</th>
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="16.66%">
                            <col width="16.66%">
                            <col width="16.66%">
                            <col width="16.66%">
                            <col width="16.66%">
                            <col width="16.66%">
                            <tbody class="table_data"></tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
{{ end }}

{{ define "script"}}
<script type="application/javascript" src="../../static/js/warehouse.js"></script>
<script type="application/javascript">
    // 时间段时间选择器
    laydate.render({
        elem: '#houseDateChoose' //开始时间和结束时间所在 input 框的父选择器
        //设置开始日期、日期日期的 input 选择器
        , range: ['#houseStartDate', '#houseEndDate'] //数组格式为 layui 2.6.6 开始新增
        , type: 'datetime',
    });
</script>
{{end}}